package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.common.data.web.response.Params;
import com.engine4cloud.tdf.supervision.dto.IdentityUniqueCheckDTO;
import com.engine4cloud.tdf.supervision.dto.MobileUniqueCheckDTO;
import com.engine4cloud.tdf.supervision.dto.create.GzrySocialWorkerCreateDTO;
import com.engine4cloud.tdf.supervision.dto.query.GzrySocialWorkerQueryDTO;
import com.engine4cloud.tdf.supervision.dto.result.GzrySocialWorkerResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.GzrySocialWorkerUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.GzrySocialWorkerEntity;

public interface GzrySocialWorkerService extends IService<GzrySocialWorkerEntity> {

    PageInfo<GzrySocialWorkerResultDTO> getPageList(Params page, GzrySocialWorkerQueryDTO dto);

    GzrySocialWorkerResultDTO getById(Long id);

    Boolean create(GzrySocialWorkerCreateDTO dto);

    Boolean update(GzrySocialWorkerUpdateDTO dto);

    Boolean checkUniqueByIdentity(IdentityUniqueCheckDTO dto);

    Boolean checkUniqueByMobile(MobileUniqueCheckDTO dto);
}